package com.yourname.myapplication.data.local.entity

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "questions")
data class QuestionEntity (
    @PrimaryKey(autoGenerate = true)
    val id:Long=0,//题目id
    val text : String,//题干
    val options :List<String>,//选项
    val answer:Int,//正确答案索引
    val explanation: String,//解析
    val difficulty:Int=1//难度
    )